package com.youlai.system.converter;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.system.model.entity.Employ;
import com.youlai.system.model.form.EmployForm;
import com.youlai.system.model.vo.EmployImportVO;
import com.youlai.system.model.vo.EmployVO;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface EmployConverter {
    Page<EmployVO> entityPage(Page<Employ> employPage);

    Employ formEntity(EmployForm employForm);

    EmployForm entityForm(Employ entity);

    Employ importVo2Entity(EmployImportVO employImportVO);
}
